# _*_coding:utf-8_*_
"""
    Constant definition file for socket implementaion package,
    Developed by Ivy.Li 2013.04.11.
    (C)Copyright 2013 Hech. All rights reserved
"""

LIST_PORT = 10000

# define max message length between GUI and ATS
MAX_MSG_LEN = 1024

# define command pattern
RUN_PPF_CMD = '^run-\S+.ppf\S*\s*(-a)?#'
STOP_CMD = '^stop#$'
PAUSE_CMD = '^pause#$'
RESUME_CMD = '^resume#$'
# define complete command message
COMPLETE_CMD = 'complete#'
STOP_SIP_TOOLS_CMD = "stop_sip_tools"
# define client close message
CLIENT_CLOSE = "client close#"

# Add update Global data dict command
UPDATE_GDATA_CMD = '^update-\S*=\S*(,\S*=\S*)*#'

# Add update Global real time data dict command
UPDATE_REALTIMEGDATA_CMD = '^update_realtimedata-\S*=\S*(,\S*=\S*)*#'

SPLITER = "__"
